package com.cyx.spring.jdbc;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * ConnectionCallback
 *
 * @author yongxiang
 * @date 2024/10/24 16:45
 * @desc
 */
@FunctionalInterface
public interface ConnectionCallback<T> {
    T doInConnection(Connection con) throws Exception;
}
